.new-api {
  .selected {
    .card,
    .card-import {
      opacity: 1;
      transform: translateY(-4px);
      box-shadow: 0 10px 20px -10px var(--gv-theme-neutral-color-dark, #bfbfbf);
      cursor: pointer;
      visibility: visible;
      background-color: var(--gv-theme-color-darker);
      color: #ffffff;
      position: relative;
    }

    .actions {
      visibility: visible;
      opacity: 1;
    }
  }

  .card-import {
    min-width: 490px;
  }

  .card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card,
  .card-import {
    border-radius: 2px;
    opacity: 0.6;
    box-shadow: 0 0 0 1px var(--gv-theme-neutral-color, #f5f5f5), 0 1px 3px var(--gv-theme-neutral-color-dark, #bfbfbf);

    margin: 0 1rem;
    padding: 1rem;
    color: #262626;
    transition: all 0.3s ease-in-out;

    .title {
      padding: 0.5rem;
      text-transform: uppercase;
      letter-spacing: 0.5rem;
      font-size: 18px;
      text-align: center;
    }

    .description {
      text-align: center;
      padding: 0.5rem;
      font-size: 14px;
    }

    &:hover {
      opacity: 1;
      transform: translateY(-4px);
      box-shadow: 0 10px 20px -10px var(--gv-theme-neutral-color-dark, #bfbfbf);
      cursor: pointer;
    }
  }

  .actions {
    padding: 2rem 0.5rem;
    display: flex;
    flex: 1;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
  }

  gv-image {
    height: 300px;
    width: 600px;

    @media only screen and (max-width: 1780px) {
      height: 250px;
      width: 500px;
    }

    @media only screen and (max-width: 1600px) {
      height: 200px;
      width: 400px;
    }

    @media only screen and (max-width: 1400px) {
      height: 175px;
      width: 350px;
    }

    @media only screen and (max-width: 1200px) {
      height: 125px;
      width: 250px;
    }
  }

  .version-label {
    min-width: 170px;
  }

  .import-container,
  .import-action {
    visibility: hidden;
    opacity: 0;
    position: absolute;
  }

  abbr {
    font-style: italic;
    font-weight: bold;
  }
}

.new-api.new-api-import {
  .actions gv-button:not(.import-action) {
    visibility: hidden;
    opacity: 0;
    position: absolute;
  }

  .selected .card {
    opacity: 0.6;
  }

  .definition-container {
    display: none;
  }

  .import-container,
  .import-action {
    visibility: visible;
    opacity: 1;
    position: relative;
  }

  gv-api-import {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-around;
  }
}

.api-creation {
  &__timeline-badge-container {
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;

    &__icon {
      --gv-icon--s: 22px;
      --gv-icon--c: var(--gv-theme-color-darker);
    }
  }
}
